package cn.nebula.music.service;

import java.sql.Date;
import java.util.List;
import java.util.Set;

import cn.nebula.music.domain.Album;

public interface AlbumService {
	public Album findAlbumById(Integer id) throws Exception;

	public Set<Album> findAlbumsByName(String name) throws Exception;

	public Set<Album> findAlbumsByHeat(Integer heat) throws Exception;

	public Set<Album> findAlbumsByPublishTime(Date publishTime) throws Exception;

	public Set<Album> findAllAlbums() throws Exception;

	public Set<Album> findAllAlbumsOfBT() throws Exception;

	public Set<Album> findAllAlbumsWP() throws Exception;

	public List<Album> findNewAlbums() throws Exception;

	public void addAlbum(Album album) throws Exception;

	public void updateAlbum(Album album) throws Exception;

	public void deleteAlbumById(Integer id) throws Exception;

}
